package guoanmaker.operator.business.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;

import guoanmaker.operator.business.dao.PersonalAddressDao;
import guoanmaker.operator.business.model.OperatorUserSignIn;
import guoanmaker.operator.business.model.OperatorUserSignInActive;
import guoanmaker.operator.business.model.OperatorUserSignInConfiguration;
import guoanmaker.operator.business.model.OperatorUserSignInLog;
import guoanmaker.operator.business.model.OperatorUserSignInSwitch;
import guoanmaker.operator.business.model.PersonalAddress;
import guoanmaker.operator.business.model.ReturnResult;

public interface OperatorUserSignInServiceIntegerface {
Map selectUserSignIn(String userid);
OperatorUserSignInConfiguration saveOperatorUserSignInConfiguration(OperatorUserSignInConfiguration operatorUserSignInConfiguration);
void delectAllUserSignInConfiguration(String signActiveId);
List<OperatorUserSignInConfiguration> selectOperatorUserSignInConfigurationlist();
OperatorUserSignInActive saveOperatorUserSignInActive(OperatorUserSignInActive operatorUserSignInActive);
Map selectOperatorUserSignInActiveList(Integer page,Integer size,String status);
Map selectOperatorUserSignInList(Integer page,Integer size,String signactivId);
Map selectOperatorAcAndCon(String id);
List<OperatorUserSignInSwitch> selectOperatorUserSignInSwitch();
OperatorUserSignInSwitch saveOperatorUserSignInSwitch(OperatorUserSignInSwitch operatorUserSignInSwitch);
Page<OperatorUserSignIn> selectOperatorUserSignInallList();
Map selectSignInInitialize(String usrerid);
List<OperatorUserSignInActive> selectOperatorUserSignAcByDate(Date signInCreateTime);
Integer findSignInNumByUserIdAndActId(String userId, String actId);
PersonalAddressDao selectDefaultAddress(String userid);
ReturnResult saveDefaultAddress(PersonalAddress personalAddress);
Workbook exportHistoricalSignInActivity(String activityId);
List<OperatorUserSignIn> exportHistoricalSignIn(String activityId);
}
